package cac.fenjian.resource.msBulkyItems.dao;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface MsBulkyItemsDao {
    /*大件货物明细查询*/
    public Page<HashMap> msBulkyItemsSearch(@Param("bean")HashMap map, @Param("orderBy") String orderBy, @Param("keyWords")String keyWords);
    /*大件货物明细新增*/
    public int msBulkyItemsInsert(@Param("map") Map map);
    /*大件货物明细修改*/
    public int msBulkyItemsUpdate(@Param("map") Map map);
    /*大件货物明细删除*/
    public int msBulkyItemsDelete(String msBulkyItemsId);
    /*根据大件货物明细表主键查询*/
    public HashMap msBulkyItemsFindId(String msBulkyItemsId);
    //查询可以直接分拣的大件
    public List<HashMap> searchBulkyItemAbleSort(String packageId);

    int updateMatchInfo(@Param("map")HashMap map);
    int updateItemInventory(@Param("map")HashMap map);

    int searchItemCode(@Param("map")HashMap map);
}
